package com.jacklin.service.Impl;

import com.jacklin.entity.SellerInfo;
import com.jacklin.repository.SellerInfoRepository;
import com.jacklin.service.SellerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author 林必昭
 * @Date 2019/4/11 13:44
 */

@Service
public class SellerServiceImpl implements SellerService{

    @Autowired private SellerInfoRepository repository;

    @Override
    public SellerInfo findSellerInfoByOpenid(String openid) {
        return repository.findByOpenid(openid);
    }
}
